.class public Lcom/bandai/games/api/sqcrT;
.super Ljava/lang/Object;


# static fields
.field public static VqfAZ:Ljava/lang/String;

.field private static jTPue:Ljava/io/InputStream;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/bandai/games/api/sqcrT;->jTPue:Ljava/io/InputStream;

    const-string v0, "UTF-8"

    sput-object v0, Lcom/bandai/games/api/sqcrT;->VqfAZ:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static SzUcz(II)Ljava/lang/String;
    .locals 6

    const/4 v0, 0x0

    :try_start_0
    new-array v1, p1, [B

    sget-object v2, Lcom/bandai/games/api/sqcrT;->jTPue:Ljava/io/InputStream;

    invoke-virtual {v2}, Ljava/io/InputStream;->reset()V

    sget-object v2, Lcom/bandai/games/api/sqcrT;->jTPue:Ljava/io/InputStream;

    int-to-long v4, p0

    invoke-virtual {v2, v4, v5}, Ljava/io/InputStream;->skip(J)J

    sget-object v2, Lcom/bandai/games/api/sqcrT;->jTPue:Ljava/io/InputStream;

    const/4 v3, 0x0

    invoke-virtual {v2, v1, v3, p1}, Ljava/io/InputStream;->read([BII)I

    :goto_0
    if-ge v0, p1, :cond_0

    aget-byte v2, v1, v0

    xor-int/lit8 v2, v2, -0x78

    int-to-byte v2, v2

    aput-byte v2, v1, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    new-instance v0, Ljava/lang/String;

    sget-object v2, Lcom/bandai/games/api/sqcrT;->VqfAZ:Ljava/lang/String;

    invoke-direct {v0, v1, v2}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    return-object v0

    :catch_0
    move-exception v0

    const-string v0, ""

    goto :goto_1
.end method

.method public static XNuyT(Ljava/io/InputStream;)Z
    .locals 1

    sput-object p0, Lcom/bandai/games/api/sqcrT;->jTPue:Ljava/io/InputStream;

    invoke-static {}, Lcom/bandai/games/api/sqcrT;->nxQLD()Z

    move-result v0

    return v0
.end method

.method public static nxQLD()Z
    .locals 1

    sget-object v0, Lcom/bandai/games/api/sqcrT;->jTPue:Ljava/io/InputStream;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
